package isjinhao.jlox.run;

import isjinhao.jlox.lexical.Token;
import lombok.Getter;

/**
 * @Author ISJINHAO
 * @Date 2021/2/22 17:23
 */
@Getter
public class RuntimeError extends RuntimeException {
    private final Token token;

    public RuntimeError(Token token, String message) {
        super(message);
        this.token = token;
    }
}